package cn.getech.data.development.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@ApiModel(description = "实时任务运行记录")
@Data
@TableName("bdp_real_time_run_history")
public class RealtimeRunHistoryEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	@ApiModelProperty(value = "")
	@TableId
	private Integer id;
	/**
	 * 任务id
	 */
	@ApiModelProperty(value = "任务id")
	private Integer taskId;
	/**
	 * 开始时间
	 */
	@ApiModelProperty(value = "开始时间")
	private Date startTime;
	/**
	 * 结束时间
	 */
	@ApiModelProperty(value = "结束时间")
	private Date endeTime;


	/**
	 * 运行状态，0 失败 1 成功 2 运行中 3 未运行
	 */
	@ApiModelProperty(value = "运行状态，0 失败 1 成功 2 运行中 3 未运行")
	private Integer runState;

}
